using System;
using System.Collections.Generic;
using System.Text;

using VisualGTest.Message;

namespace VisualGTest.Binding
{
    /// <summary>
    /// A default implementation whose methods are no-ops. This is convenient
    /// for extension; only override the methods you need to.
    /// </summary>
    class TestEventListener : ITestEventListener
    {
        #region ITestEventListener Members

        public virtual void OnTestProgramStart(UnitTest unitTest)
        {
        }

        public virtual void OnTestIterationStart(UnitTest unitTest)
        {
        }

        public virtual void OnEnvironmentSetUpStart(UnitTest unitTest)
        {
        }

        public virtual void OnEnvironmentSetUpEnd(UnitTest unitTest)
        {
        }

        public virtual void OnTestCaseStart(TestCase testCase)
        {
        }

        public virtual void OnTestStart(TestInfo testInfo)
        {
        }

        public virtual void OnTestPartResult(TestPartResult testPartResult)
        {
        }

        public virtual void OnTestEnd(TestInfo testInfo)
        {
        }

        public virtual void OnTestCaseEnd(TestCase testCase)
        {
        }

        public virtual void OnEnvironmentTearDownStart(UnitTest unitTest)
        {
        }

        public virtual void OnEnvironmentTearDownEnd(UnitTest unitTest)
        {
        }

        public virtual void OnTestIterationEnd(UnitTest unitTest)
        {
        }

        public virtual void OnTestProgramEnd(UnitTest endedUnitTest)
        {
        }

        public virtual void OnTestRunError(Exception ex)
        {
        }

        #endregion
    }
}
